package smartt.styy.auth.model.request;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonAutoDetect(fieldVisibility = Visibility.NONE, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel
public class SmsPhoneLoginReq {

	@JsonProperty("phoneNum")
	@ApiModelProperty(name = "phoneNum", value = "电话号码", required = true)
	@Setter @Getter
	private String phoneNum;
	
	@JsonProperty("smsCode")
	@ApiModelProperty(name = "smsCode", value = "登录短信", required = true)
	@Setter @Getter
	private String smsCode;
	
}
